export const columns = [
  {
    title: 'id',
    key: 'id',
    width: 60,
  },
  {
    title: '内容',
    key: 'content',
    width: 150,
  },
  {
    title: '用户名',
    key: 'username',
    width: 150,
  },
  {
    title: '素材ID',
    key: 'materialId',
    width: 100,
  },
  {
    title: '素材标题',
    key: 'materialTitle',
    width: 200,
  },
  {
    title: '点赞数',
    key: 'likes',
    width: 100,
    sorter: (row1, row2) => row1.likes - row2.likes,
  },
  {
    title: '创建时间',
    key: 'createTime',
    width: 160,
  },
  {
    title: '修改时间',
    key: 'updateTime',
    width: 160,
  },
];
